package role

import (
	"github.com/hwcer/yyds/context"
	"server/game/model"
)

/*
商业玩法，充值订单，月卡，商场 等赚钱的东西
*/

var db = model.DB()

func Register(i any, prefix ...string) {
	arr := []string{"role"}
	if len(prefix) > 0 {
		arr = append(arr, prefix...)
	} else {
		arr = append(arr, "%v")
	}
	context.Register(i, arr...)
}
